{
	print "INSERT INTO events (relTime, nodeA, nodeB, action, source) VALUES ('"$3"', '"$1"', '"$2"', 'up', 'scenario');";
	print "INSERT INTO events (relTime, nodeA, nodeB, action, source) VALUES ('"$4"', '"$1"', '"$2"', 'down', 'scenario');";
}